package simple.utils.data.serializers;


import java.io.IOException;

/**
 * Identity
 *
 * Created by rehak on 4/29/14.
 */
public class ByteArraySerializer implements Serializer<byte[]> {
    @Override
    public byte[] toBytes(byte[] bytes) throws IOException {
        return bytes;
    }

    @Override
    public byte[] fromBytes(byte[] data) throws IOException {
        return data;
    }
}
